package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Commodity;
import cn.wolfcode.trip.base.domain.User;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ICommodityService {
    PageInfo<?> query(QueryObject qo);

    void saveOrUpdate(Commodity commodity);

    void deleteById(Long id);

    List<Commodity> getForms(Long userId);
}
